package io.kimmking.rpcfx.demo.consumer;

import io.kimmking.rpcfx.context.RpcfxContext;
import io.kimmking.rpcfx.demo.api.User;
import io.kimmking.rpcfx.demo.api.UserService;

import java.util.HashMap;

public class MockUserServiceImpl implements UserService {

    @Override
    public User findById(int id) {
        return new User(id, "mock" + System.currentTimeMillis());
    }
}